//2. 创建组件
//3. 定义路由
import about from "../components/about"
import home from "../components/home"
const routes = [
  {path:"/about",component:about},
  {path:"/home",component:home},
  {path:"/",redirect:"/about"}
]

export default routes
